@import "var.less";
* {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  height: 100%;

  a {
    text-decoration: none;
  }

  .header {
    padding: 0;
  }

  .el-main {
    min-height: 500px;
    height: calc(100% + 10000px)!important;
    overflow: hidden;
    padding: 0;
  }

  .el-footer {
    padding: 0;
  }
}

/* 顶部导航栏 */
.topContainer {
  width: 100%;
  height: @navHeight;
  background-color: @dark;
  color: @bright;
  line-height: @navHeight;
  font-size: 16px;
  margin-bottom: 10px;
}

.topContainer {
  .nav {
    width: 1200px;
    margin: 0 auto;

    ul {
      float: right;

      li {
        float: left;
        height: @navHeight;
        line-height: @navHeight;
        margin-left: 20px;
        color: @light;
        text-align: center;
        cursor: pointer;

        a {
          color: @light;
        }

        a:hover {
          color: @bright;
        }
      }
    }

    .el-button {
      background-color: @dark;
      color: @light;
      cursor: pointer;
    }

    .el-button {
      color: @bright;
    }

    .sep {
      color: @light;
      font-size: 12px;
      margin: 0 5px;
    }

    .shopCart {
      width: 120px;
      background: @dark;
    }

    .shopCart:hover {
      background: @bright;
    }

    .shopCart:hover a {
      color: @orange;
    }

    .shopCart-full {
      width: 120px;
      background: @orange;
    }

    .shopCart-full {
      color: @bright;
    }

    svg, .i {
      height: 18px;
      width: 18px;
    }
  }
}

//  导航栏END

// 头部
.el-header {

  .el-menu {
    max-width: 1200px;
    min-width: 950px;
    margin: 0 auto;


    //  一级菜单水平排列
    .el-menu-item {
      float: left;
      margin: 0 auto;
      padding: 0 20px;
      height: 80px;
      line-height: 80px;
      font-size: 16px;
      cursor: pointer;
    }

    img {
      height: 80px;
      width: 80px;
    }

    .logo {
      height: 80px;
      width: 80px;
      float: left;
      margin-left: 100px;
      margin-right: 150px;
    }

    .router-link-exact-active {
      color: @orange;
    }

    .search {
      margin-top: 20px;
      width: 300px;
      float: right;

      //  搜索框
      .el-input input {
        height: 40px;

        //  搜索框输入最长显示长度
        width: 240px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;

        .el-input__inner {
          color: @light;
        }

        .el-input__inner:hover {
          border-color: @orange;
        }

        .el-input__inner:focus {
          border-color: @orange;
        }

        .el-input__icon {
          color: @light;
        }

        .el-input__icon:hover {
          color: @orange;
        }
      }

      //  搜索图标 在搜索框内 搜索框设置输入显示长度限制
      #search_btn {
        width: 40px;
        height: 40px;
        border-radius: 20px;
        color: @light;
        font-size: 16px;
        padding-left: 20px;
        padding-right: 20px;
        margin-right: 20px;
        cursor: pointer;
        //    调位置
        position: relative;
        top: -40px;
        left: 180px;

      }

      #search_btn:hover {
        color: @orange;
      }

    }

    svg {
      height: 30px;
      width: 30px;
      //color: @dark;
    }
  }


}

//  头部END

//  页脚

.el-footer {
  min-width: 1200px;
  position: relative;
  top: 180px;
  background-color: @dark;
  color: @light;
  height: 200px;
  width: 100%;
  font: 16px "Harlow Solid Italic";

  hr {
    position: absolute;
    left: 5%;
    top: 60%;
    width: 90%;
    margin: 10px auto;
    height: 1px;
    background: @bright;
  }


  .bottom-box-top {
    position: absolute;
    width: 80%;
    left: 10%;
    top: 10px;
  }

  .bottom-box-bottom {
    position: absolute;
    width: 80%;
    top: 75%;
    left: 10%;
  }

  .bottom-box-info1 {
    position: absolute;
  }

  .bottom-box-info2 {
    position: absolute;
    left: 160px;
  }

  .bottom-box-info3 {
    position: absolute;
    left: 320px;
  }

  .bottom-box-info4 {
    position: absolute;
    left: 480px;
  }

  .bottom-box-info5 {
    position: absolute;
    left: 850px;
    top: 20px;
  }

  .bottom-box ul li {
    font-size: small;
  }

  .qq-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-items: center;

  }

  .github-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-items: center;
  }

  .phone-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-items: center;
  }

  .time-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-items: center;
    font-size: 12px;
  }

}

//  页脚END

/* 插入头后的页面调位置 */
#home,#goods,#about{
  position: relative;
  margin-top: 50px;
  //top: 50px;
}
/* 调位置END */




